import Vue from 'vue'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueAMap from 'vue-amap';

import '@/assets/iconfont/iconfont.css'
import '@/assets/css/index.scss'

import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

Vue.use(ElementUI)
Vue.use(VueAMap);

VueAMap.initAMapApiLoader({
    key: '2f155917c407d5718182988aeb420af4',
    plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Geocoder'],
    // 默认高德 sdk 版本为 1.4.4
    v: '1.4.4'
});

new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')
